class FixForDatetime < ActiveRecord::Migration
  def self.up
    execute 'ALTER TABLE `events` CHANGE `date` `date` TINYTEXT NOT NULL'
  end

  def self.down
    execute 'ALTER TABLE `events` CHANGE `date` `date` DATETIME NOT NULL'
  end
end
